﻿app.factory('systemObjectTagFactory', function ($http) {
    var factory = {};
    factory.getTagByLesson = function (id) {
        return $http.get(getTagByLessonApiAddress + id);
    };
    factory.delTag = function (id) {
        return $http.post(deleteTagApiAddress + id);
    };
    factory.addRangeSystemObjectTag = function (data) {
        return $http.post(addRangeTagSystemApiAddress, data);
    };
    //
    factory.addRangeTag = function (data) {
        return $http.post(addRangeTagApiAddress, data);
    };
    return factory;
});